<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Aestate: aestate.dbs._mssql.ParseUtil Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Aestate
   &#160;<span id="projectnumber">1.0.5</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceaestate.html">aestate</a></li><li class="navelem"><a class="el" href="namespaceaestate_1_1dbs.html">dbs</a></li><li class="navelem"><a class="el" href="namespaceaestate_1_1dbs_1_1__mssql.html">_mssql</a></li><li class="navelem"><a class="el" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html">ParseUtil</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">aestate.dbs._mssql.ParseUtil Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Collaboration diagram for aestate.dbs._mssql.ParseUtil:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1dbs_1_1__mssql_1_1_parse_util__coll__graph.png" border="0" usemap="#aestate_8dbs_8__mssql_8_parse_util_coll__map" alt="Collaboration graph"/></div>
<map name="aestate_8dbs_8__mssql_8_parse_util_coll__map" id="aestate_8dbs_8__mssql_8_parse_util_coll__map">
<area shape="rect" title=" " alt="" coords="5,5,216,317"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a98ed5116baccabd0a051b51be9ec576f"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#a98ed5116baccabd0a051b51be9ec576f">parse_main</a> (self, *args, to_str=False, symbol='%s', left='[', right=']', **kwargs)</td></tr>
<tr class="separator:a98ed5116baccabd0a051b51be9ec576f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a054d59cf6e7bb039a5010d7facf27640"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#a054d59cf6e7bb039a5010d7facf27640">parse_key</a> (self, *args, **kwargs)</td></tr>
<tr class="separator:a054d59cf6e7bb039a5010d7facf27640"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a840e90ed9dd9855b5c16e2297b7a0451"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#a840e90ed9dd9855b5c16e2297b7a0451">parse_value</a> (self, *args, **kwargs)</td></tr>
<tr class="separator:a840e90ed9dd9855b5c16e2297b7a0451"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3bbc407eaf0f1046a82909e9b2b8afb"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#af3bbc407eaf0f1046a82909e9b2b8afb">parse_insert</a> (self, keys, values, __table_name__, insert_str, values_str, symbol='%s', sql_format='%s %s(%s)%s(%s)')</td></tr>
<tr class="separator:af3bbc407eaf0f1046a82909e9b2b8afb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad68acac1692039f326826647413c143b"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#ad68acac1692039f326826647413c143b">parse_insert_pojo</a> (self, pojo, __table_name__, insert_str, values_str)</td></tr>
<tr class="separator:ad68acac1692039f326826647413c143b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5a684501f434944b7e993d162845dde"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#aa5a684501f434944b7e993d162845dde">get_pojo_sql</a> (self, instance)</td></tr>
<tr class="separator:aa5a684501f434944b7e993d162845dde"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a8eab4c8bbe0859a7b64b0e5279aa9f18"><td class="memItemLeft" align="right" valign="top">Tuple[list, list]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#a8eab4c8bbe0859a7b64b0e5279aa9f18">parse_pojo</a> (pojo)</td></tr>
<tr class="separator:a8eab4c8bbe0859a7b64b0e5279aa9f18"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4891184612f154afb6cf7f861fc1ce6"><td class="memItemLeft" align="right" valign="top">object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#af4891184612f154afb6cf7f861fc1ce6">parse_obj</a> (dict data, object instance)</td></tr>
<tr class="separator:af4891184612f154afb6cf7f861fc1ce6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0e5f3d139bdc43dbd81363accb873b7"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#ad0e5f3d139bdc43dbd81363accb873b7">find_last_id</a> (**kwargs)</td></tr>
<tr class="separator:ad0e5f3d139bdc43dbd81363accb873b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a350da676232f5abb0912a808ad028620"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#a350da676232f5abb0912a808ad028620">find_print_sql</a> (**kwargs)</td></tr>
<tr class="separator:a350da676232f5abb0912a808ad028620"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c8abd3b0048b7ecfe5f48c93e5c866f"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#a1c8abd3b0048b7ecfe5f48c93e5c866f">case_name</a> (text, rep_text='_', lower=True, upper=False)</td></tr>
<tr class="separator:a1c8abd3b0048b7ecfe5f48c93e5c866f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18b91f6b2f14a10bc8e7a42d047c66c2"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#a18b91f6b2f14a10bc8e7a42d047c66c2">is_default</a> (__val)</td></tr>
<tr class="separator:a18b91f6b2f14a10bc8e7a42d047c66c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9848e492046e9fea0b75303dab3b9a76"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#a9848e492046e9fea0b75303dab3b9a76">set_field</a> (obj, key, value)</td></tr>
<tr class="separator:a9848e492046e9fea0b75303dab3b9a76"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60974f35913df53fe18e258c7f481995"><td class="memItemLeft" align="right" valign="top">None&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#a60974f35913df53fe18e258c7f481995">set_field_compulsory</a> (obj, str key, dict data, object val)</td></tr>
<tr class="separator:a60974f35913df53fe18e258c7f481995"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5057405341c7e02b622f99a67fffd018"><td class="memItemLeft" align="right" valign="top">object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#a5057405341c7e02b622f99a67fffd018">fieldExist</a> (object obj, str field, el=None, raise_exception=False)</td></tr>
<tr class="separator:a5057405341c7e02b622f99a67fffd018"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4cd3623fa35f06c0770cfc6a71e15978"><td class="memItemLeft" align="right" valign="top">List[tuple]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#a4cd3623fa35f06c0770cfc6a71e15978">parse_pojo_many</a> (list pojo_many)</td></tr>
<tr class="separator:a4cd3623fa35f06c0770cfc6a71e15978"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48f8d0d651dabe74c000b73cda0f3100"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#a48f8d0d651dabe74c000b73cda0f3100">insert_to_obj</a> (obj, kwargs)</td></tr>
<tr class="separator:a48f8d0d651dabe74c000b73cda0f3100"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="dbs_2__mssql_2____init_____8py_source.html#l00013">13</a> of file <a class="el" href="dbs_2__mssql_2____init_____8py_source.html">__init__.py</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a1c8abd3b0048b7ecfe5f48c93e5c866f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1c8abd3b0048b7ecfe5f48c93e5c866f">&#9670;&nbsp;</a></span>case_name()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.dbs._mssql.ParseUtil.case_name </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>rep_text</em> = <code>'_'</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>lower</em> = <code>True</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>upper</em> = <code>False</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<pre class="fragment">将驼峰文本改为使用指定符号分割的字符串表达形式并全部小写
:param text:需要替换的文本
:param rep_text:在大写文本后面追加的字符串
:param lower:是否需要全部小写
:param upper:是否需要全部大写
</pre> 
<p class="definition">Definition at line <a class="el" href="dbs_2__mssql_2____init_____8py_source.html#l00216">216</a> of file <a class="el" href="dbs_2__mssql_2____init_____8py_source.html">__init__.py</a>.</p>

</div>
</div>
<a id="a5057405341c7e02b622f99a67fffd018"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5057405341c7e02b622f99a67fffd018">&#9670;&nbsp;</a></span>fieldExist()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"> object aestate.dbs._mssql.ParseUtil.fieldExist </td>
          <td>(</td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">str&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>el</em> = <code>None</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>raise_exception</em> = <code>False</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<pre class="fragment">在对象中获取一个字段的值,如果这个字段不存在,则将值设置为`el`
</pre> 
<p class="definition">Definition at line <a class="el" href="dbs_2__mssql_2____init_____8py_source.html#l00273">273</a> of file <a class="el" href="dbs_2__mssql_2____init_____8py_source.html">__init__.py</a>.</p>

</div>
</div>
<a id="ad0e5f3d139bdc43dbd81363accb873b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad0e5f3d139bdc43dbd81363accb873b7">&#9670;&nbsp;</a></span>find_last_id()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.dbs._mssql.ParseUtil.find_last_id </td>
          <td>(</td>
          <td class="paramtype">**&#160;</td>
          <td class="paramname"><em>kwargs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<pre class="fragment">作者:CACode 最后编辑于2021/4/12

遵循规则：

    内部&gt;配置文件

是否包含返回最后一行ID的配置

只存在于更新操做的方法内，如：

    insert,

    update,

    delete

 Attributes:

     conf_obj:配置类
</pre> 
<p class="definition">Definition at line <a class="el" href="dbs_2__mssql_2____init_____8py_source.html#l00163">163</a> of file <a class="el" href="dbs_2__mssql_2____init_____8py_source.html">__init__.py</a>.</p>

</div>
</div>
<a id="a350da676232f5abb0912a808ad028620"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a350da676232f5abb0912a808ad028620">&#9670;&nbsp;</a></span>find_print_sql()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.dbs._mssql.ParseUtil.find_print_sql </td>
          <td>(</td>
          <td class="paramtype">**&#160;</td>
          <td class="paramname"><em>kwargs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<pre class="fragment">遵循规则：
    内部&gt;配置文件

是否包含打印sql的配置

存在于所有数据库操做

Attributes:
     conf_obj:配置类
</pre> 
<p class="definition">Definition at line <a class="el" href="dbs_2__mssql_2____init_____8py_source.html#l00194">194</a> of file <a class="el" href="dbs_2__mssql_2____init_____8py_source.html">__init__.py</a>.</p>

</div>
</div>
<a id="aa5a684501f434944b7e993d162845dde"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa5a684501f434944b7e993d162845dde">&#9670;&nbsp;</a></span>get_pojo_sql()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.dbs._mssql.ParseUtil.get_pojo_sql </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>instance</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">获取创建pojo对象的sql语句
</pre> 
<p class="definition">Definition at line <a class="el" href="dbs_2__mssql_2____init_____8py_source.html#l00315">315</a> of file <a class="el" href="dbs_2__mssql_2____init_____8py_source.html">__init__.py</a>.</p>

</div>
</div>
<a id="a48f8d0d651dabe74c000b73cda0f3100"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48f8d0d651dabe74c000b73cda0f3100">&#9670;&nbsp;</a></span>insert_to_obj()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.dbs._mssql.ParseUtil.insert_to_obj </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>kwargs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="dbs_2__mssql_2____init_____8py_source.html#l00311">311</a> of file <a class="el" href="dbs_2__mssql_2____init_____8py_source.html">__init__.py</a>.</p>

</div>
</div>
<a id="a18b91f6b2f14a10bc8e7a42d047c66c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a18b91f6b2f14a10bc8e7a42d047c66c2">&#9670;&nbsp;</a></span>is_default()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.dbs._mssql.ParseUtil.is_default </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>__val</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<pre class="fragment">是否等于默认值
</pre> 
<p class="definition">Definition at line <a class="el" href="dbs_2__mssql_2____init_____8py_source.html#l00238">238</a> of file <a class="el" href="dbs_2__mssql_2____init_____8py_source.html">__init__.py</a>.</p>

</div>
</div>
<a id="af3bbc407eaf0f1046a82909e9b2b8afb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af3bbc407eaf0f1046a82909e9b2b8afb">&#9670;&nbsp;</a></span>parse_insert()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.dbs._mssql.ParseUtil.parse_insert </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>keys</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>values</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>__table_name__</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>insert_str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>values_str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>symbol</em> = <code>'%s'</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>sql_format</em> = <code>'%s&#160;%s&#160;(%s)%s(%s)'</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">实现此方法可自定义sql生成模式

keys:包含了所有需要解析的字段名
values:包含了所有需要用到的字段的值
__table_name__:表名称
insert_str:insert的字符串
values_str:values字符串
symbol:格式化方式，以`%s`作为匿名符号
</pre> 
<p class="definition">Definition at line <a class="el" href="dbs_2__mssql_2____init_____8py_source.html#l00073">73</a> of file <a class="el" href="dbs_2__mssql_2____init_____8py_source.html">__init__.py</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1dbs_1_1__mssql_1_1_parse_util_af3bbc407eaf0f1046a82909e9b2b8afb_cgraph.png" border="0" usemap="#classaestate_1_1dbs_1_1__mssql_1_1_parse_util_af3bbc407eaf0f1046a82909e9b2b8afb_cgraph" alt=""/></div>
<map name="classaestate_1_1dbs_1_1__mssql_1_1_parse_util_af3bbc407eaf0f1046a82909e9b2b8afb_cgraph" id="classaestate_1_1dbs_1_1__mssql_1_1_parse_util_af3bbc407eaf0f1046a82909e9b2b8afb_cgraph">
<area shape="rect" title=" " alt="" coords="5,39,192,80"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#a054d59cf6e7bb039a5010d7facf27640" title=" " alt="" coords="240,5,427,47"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#a840e90ed9dd9855b5c16e2297b7a0451" title=" " alt="" coords="240,71,427,112"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#a98ed5116baccabd0a051b51be9ec576f" title=" " alt="" coords="475,39,661,80"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1dbs_1_1__mssql_1_1_parse_util_af3bbc407eaf0f1046a82909e9b2b8afb_icgraph.png" border="0" usemap="#classaestate_1_1dbs_1_1__mssql_1_1_parse_util_af3bbc407eaf0f1046a82909e9b2b8afb_icgraph" alt=""/></div>
<map name="classaestate_1_1dbs_1_1__mssql_1_1_parse_util_af3bbc407eaf0f1046a82909e9b2b8afb_icgraph" id="classaestate_1_1dbs_1_1__mssql_1_1_parse_util_af3bbc407eaf0f1046a82909e9b2b8afb_icgraph">
<area shape="rect" title=" " alt="" coords="241,39,428,80"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#ad68acac1692039f326826647413c143b" title=" " alt="" coords="6,5,193,47"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#ae0d8e6fa65b38eed4dd4b6ba93a56c9e" title=" " alt="" coords="5,71,193,112"/>
</map>
</div>

</div>
</div>
<a id="ad68acac1692039f326826647413c143b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad68acac1692039f326826647413c143b">&#9670;&nbsp;</a></span>parse_insert_pojo()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.dbs._mssql.ParseUtil.parse_insert_pojo </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>pojo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>__table_name__</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>insert_str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>values_str</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">解析插入语句

INSERT INTO `__table_name__`(`title`,'selects') VALUE ('','')

:param pojo:POJO对象
:param __table_name__:表名
:param insert_str:insert的sql方言
:param values_str:values的sql方言
:return:
</pre> 
<p class="definition">Definition at line <a class="el" href="dbs_2__mssql_2____init_____8py_source.html#l00105">105</a> of file <a class="el" href="dbs_2__mssql_2____init_____8py_source.html">__init__.py</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1dbs_1_1__mssql_1_1_parse_util_ad68acac1692039f326826647413c143b_cgraph.png" border="0" usemap="#classaestate_1_1dbs_1_1__mssql_1_1_parse_util_ad68acac1692039f326826647413c143b_cgraph" alt=""/></div>
<map name="classaestate_1_1dbs_1_1__mssql_1_1_parse_util_ad68acac1692039f326826647413c143b_cgraph" id="classaestate_1_1dbs_1_1__mssql_1_1_parse_util_ad68acac1692039f326826647413c143b_cgraph">
<area shape="rect" title=" " alt="" coords="5,39,192,80"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#af3bbc407eaf0f1046a82909e9b2b8afb" title=" " alt="" coords="240,39,427,80"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#a054d59cf6e7bb039a5010d7facf27640" title=" " alt="" coords="475,5,661,47"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#a840e90ed9dd9855b5c16e2297b7a0451" title=" " alt="" coords="475,71,661,112"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#a98ed5116baccabd0a051b51be9ec576f" title=" " alt="" coords="709,39,896,80"/>
</map>
</div>

</div>
</div>
<a id="a054d59cf6e7bb039a5010d7facf27640"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a054d59cf6e7bb039a5010d7facf27640">&#9670;&nbsp;</a></span>parse_key()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.dbs._mssql.ParseUtil.parse_key </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">*&#160;</td>
          <td class="paramname"><em>args</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">**&#160;</td>
          <td class="paramname"><em>kwargs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">解析键格式,如:
    INSERT INTO `demo` (这里的就是键) VALUES ('','','','');
:param args:
:return:
</pre> 
<p class="definition">Definition at line <a class="el" href="dbs_2__mssql_2____init_____8py_source.html#l00051">51</a> of file <a class="el" href="dbs_2__mssql_2____init_____8py_source.html">__init__.py</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1dbs_1_1__mssql_1_1_parse_util_a054d59cf6e7bb039a5010d7facf27640_cgraph.png" border="0" usemap="#classaestate_1_1dbs_1_1__mssql_1_1_parse_util_a054d59cf6e7bb039a5010d7facf27640_cgraph" alt=""/></div>
<map name="classaestate_1_1dbs_1_1__mssql_1_1_parse_util_a054d59cf6e7bb039a5010d7facf27640_cgraph" id="classaestate_1_1dbs_1_1__mssql_1_1_parse_util_a054d59cf6e7bb039a5010d7facf27640_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,192,47"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#a98ed5116baccabd0a051b51be9ec576f" title=" " alt="" coords="240,5,427,47"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1dbs_1_1__mssql_1_1_parse_util_a054d59cf6e7bb039a5010d7facf27640_icgraph.png" border="0" usemap="#classaestate_1_1dbs_1_1__mssql_1_1_parse_util_a054d59cf6e7bb039a5010d7facf27640_icgraph" alt=""/></div>
<map name="classaestate_1_1dbs_1_1__mssql_1_1_parse_util_a054d59cf6e7bb039a5010d7facf27640_icgraph" id="classaestate_1_1dbs_1_1__mssql_1_1_parse_util_a054d59cf6e7bb039a5010d7facf27640_icgraph">
<area shape="rect" title=" " alt="" coords="477,39,664,80"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#af3bbc407eaf0f1046a82909e9b2b8afb" title=" " alt="" coords="242,5,429,47"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#afaa381afb53a5a0b9f3e01cd286c299a" title=" " alt="" coords="241,71,429,112"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#ad68acac1692039f326826647413c143b" title=" " alt="" coords="6,5,193,47"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#ae0d8e6fa65b38eed4dd4b6ba93a56c9e" title=" " alt="" coords="5,71,193,112"/>
</map>
</div>

</div>
</div>
<a id="a98ed5116baccabd0a051b51be9ec576f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a98ed5116baccabd0a051b51be9ec576f">&#9670;&nbsp;</a></span>parse_main()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.dbs._mssql.ParseUtil.parse_main </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">*&#160;</td>
          <td class="paramname"><em>args</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>to_str</em> = <code>False</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>symbol</em> = <code>'%s'</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>left</em> = <code>'['</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>right</em> = <code>']'</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">**&#160;</td>
          <td class="paramname"><em>kwargs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">    解析属性:
将属性格式设置为:['`a`,','`b`,','`c`']
    :param to_str:是否转成str格式
    :param args:参数
    :param is_field:是否为表字段格式
    :param symbol:分隔符语法
    :param left:分隔符语法
    :param right:分隔符语法
    :return:
</pre> 
<p class="definition">Definition at line <a class="el" href="dbs_2__mssql_2____init_____8py_source.html#l00015">15</a> of file <a class="el" href="dbs_2__mssql_2____init_____8py_source.html">__init__.py</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1dbs_1_1__mssql_1_1_parse_util_a98ed5116baccabd0a051b51be9ec576f_icgraph.png" border="0" usemap="#classaestate_1_1dbs_1_1__mssql_1_1_parse_util_a98ed5116baccabd0a051b51be9ec576f_icgraph" alt=""/></div>
<map name="classaestate_1_1dbs_1_1__mssql_1_1_parse_util_a98ed5116baccabd0a051b51be9ec576f_icgraph" id="classaestate_1_1dbs_1_1__mssql_1_1_parse_util_a98ed5116baccabd0a051b51be9ec576f_icgraph">
<area shape="rect" title=" " alt="" coords="713,104,900,145"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#a054d59cf6e7bb039a5010d7facf27640" title=" " alt="" coords="478,5,665,47"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#ae85305a9679051b479d80303b7a9b103" title=" " alt="" coords="477,136,665,177"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#a840e90ed9dd9855b5c16e2297b7a0451" title=" " alt="" coords="478,71,665,112"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#ac3b4dd4b502ce4e358ad1ed77988383b" title=" " alt="" coords="477,201,665,243"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#af3bbc407eaf0f1046a82909e9b2b8afb" title=" " alt="" coords="242,39,429,80"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#afaa381afb53a5a0b9f3e01cd286c299a" title=" " alt="" coords="241,104,429,145"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#ad68acac1692039f326826647413c143b" title=" " alt="" coords="6,39,193,80"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#ae0d8e6fa65b38eed4dd4b6ba93a56c9e" title=" " alt="" coords="5,104,193,145"/>
</map>
</div>

</div>
</div>
<a id="af4891184612f154afb6cf7f861fc1ce6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af4891184612f154afb6cf7f861fc1ce6">&#9670;&nbsp;</a></span>parse_obj()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"> object aestate.dbs._mssql.ParseUtil.parse_obj </td>
          <td>(</td>
          <td class="paramtype">dict&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>instance</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<pre class="fragment">将数据解析成对象
注意事项:
    数据来源必须是DbUtil下查询出来的
:param data:单行数据
:param instance:参与解析的对象
:return:POJO对象
</pre> 
<p class="definition">Definition at line <a class="el" href="dbs_2__mssql_2____init_____8py_source.html#l00147">147</a> of file <a class="el" href="dbs_2__mssql_2____init_____8py_source.html">__init__.py</a>.</p>

</div>
</div>
<a id="a8eab4c8bbe0859a7b64b0e5279aa9f18"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8eab4c8bbe0859a7b64b0e5279aa9f18">&#9670;&nbsp;</a></span>parse_pojo()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"> Tuple[list, list] aestate.dbs._mssql.ParseUtil.parse_pojo </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>pojo</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="dbs_2__mssql_2____init_____8py_source.html#l00132">132</a> of file <a class="el" href="dbs_2__mssql_2____init_____8py_source.html">__init__.py</a>.</p>

</div>
</div>
<a id="a4cd3623fa35f06c0770cfc6a71e15978"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4cd3623fa35f06c0770cfc6a71e15978">&#9670;&nbsp;</a></span>parse_pojo_many()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"> List[tuple] aestate.dbs._mssql.ParseUtil.parse_pojo_many </td>
          <td>(</td>
          <td class="paramtype">list&#160;</td>
          <td class="paramname"><em>pojo_many</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="dbs_2__mssql_2____init_____8py_source.html#l00300">300</a> of file <a class="el" href="dbs_2__mssql_2____init_____8py_source.html">__init__.py</a>.</p>

</div>
</div>
<a id="a840e90ed9dd9855b5c16e2297b7a0451"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a840e90ed9dd9855b5c16e2297b7a0451">&#9670;&nbsp;</a></span>parse_value()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.dbs._mssql.ParseUtil.parse_value </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">*&#160;</td>
          <td class="paramname"><em>args</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">**&#160;</td>
          <td class="paramname"><em>kwargs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">解析值格式,如:
    INSERT INTO `demo` (`index`, `title`, `selects`, `success`) VALUES (这里的就是值);
:param args:
:return:
</pre> 
<p class="definition">Definition at line <a class="el" href="dbs_2__mssql_2____init_____8py_source.html#l00063">63</a> of file <a class="el" href="dbs_2__mssql_2____init_____8py_source.html">__init__.py</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1dbs_1_1__mssql_1_1_parse_util_a840e90ed9dd9855b5c16e2297b7a0451_cgraph.png" border="0" usemap="#classaestate_1_1dbs_1_1__mssql_1_1_parse_util_a840e90ed9dd9855b5c16e2297b7a0451_cgraph" alt=""/></div>
<map name="classaestate_1_1dbs_1_1__mssql_1_1_parse_util_a840e90ed9dd9855b5c16e2297b7a0451_cgraph" id="classaestate_1_1dbs_1_1__mssql_1_1_parse_util_a840e90ed9dd9855b5c16e2297b7a0451_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,192,47"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#a98ed5116baccabd0a051b51be9ec576f" title=" " alt="" coords="240,5,427,47"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1dbs_1_1__mssql_1_1_parse_util_a840e90ed9dd9855b5c16e2297b7a0451_icgraph.png" border="0" usemap="#classaestate_1_1dbs_1_1__mssql_1_1_parse_util_a840e90ed9dd9855b5c16e2297b7a0451_icgraph" alt=""/></div>
<map name="classaestate_1_1dbs_1_1__mssql_1_1_parse_util_a840e90ed9dd9855b5c16e2297b7a0451_icgraph" id="classaestate_1_1dbs_1_1__mssql_1_1_parse_util_a840e90ed9dd9855b5c16e2297b7a0451_icgraph">
<area shape="rect" title=" " alt="" coords="477,39,664,80"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#af3bbc407eaf0f1046a82909e9b2b8afb" title=" " alt="" coords="242,5,429,47"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#afaa381afb53a5a0b9f3e01cd286c299a" title=" " alt="" coords="241,71,429,112"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mssql_1_1_parse_util.html#ad68acac1692039f326826647413c143b" title=" " alt="" coords="6,5,193,47"/>
<area shape="rect" href="classaestate_1_1dbs_1_1__mysql_1_1_parse_util.html#ae0d8e6fa65b38eed4dd4b6ba93a56c9e" title=" " alt="" coords="5,71,193,112"/>
</map>
</div>

</div>
</div>
<a id="a9848e492046e9fea0b75303dab3b9a76"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9848e492046e9fea0b75303dab3b9a76">&#9670;&nbsp;</a></span>set_field()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.dbs._mssql.ParseUtil.set_field </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<pre class="fragment">当对象没有这个字段时，为对象设置一个字段

为了方便提高拓展性可解耦，框架内部务必使用此

方法或者set_field_compulsory()为操作管理类提供对象</pre> 
<p class="definition">Definition at line <a class="el" href="dbs_2__mssql_2____init_____8py_source.html#l00250">250</a> of file <a class="el" href="dbs_2__mssql_2____init_____8py_source.html">__init__.py</a>.</p>

</div>
</div>
<a id="a60974f35913df53fe18e258c7f481995"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a60974f35913df53fe18e258c7f481995">&#9670;&nbsp;</a></span>set_field_compulsory()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"> None aestate.dbs._mssql.ParseUtil.set_field_compulsory </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">str&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">dict&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">object&#160;</td>
          <td class="paramname"><em>val</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<pre class="fragment">如果键存在于data中，为obj插入该值，反之插入val
</pre> 
<p class="definition">Definition at line <a class="el" href="dbs_2__mssql_2____init_____8py_source.html#l00263">263</a> of file <a class="el" href="dbs_2__mssql_2____init_____8py_source.html">__init__.py</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>aestate/dbs/_mssql/<a class="el" href="dbs_2__mssql_2____init_____8py_source.html">__init__.py</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
